package com.itheima.service;

import com.itheima.po.Book;

import java.util.List;

public interface BookService {
    int insert(Book book);

    int update(Book book);
    int updateStatusById(String status, int id);
    Book getById(int id);
    int delete(int id);
    List<Book> getAll();
}
